package com.cisetech.result;

/**
 * Result 父类，定义了必用的参数
 * @author Dyc
 */
public class BaseResult {
	/**
	 * 操作成功
	 */
    public static final String SUCCESS = "200";
    /**
     * 操作错误
     */
    public static final String ERROR = "201";
    
    /**
     * 操作失败
     */
    public static final String Fail = "202";  
	
    private String openId;
	//编码
	private String code;
	//详细信息
	private String message;
	//数据
	private Object date;
	
	
	
	public String getOpenId() {
		return openId;
	}
	public void setOpenId(String openId) {
		this.openId = openId;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public Object getDate() {
		return date;
	}
	public void setDate(Object date) {
		this.date = date;
	}
	@Override
	public String toString() {
		return "BaseResult [code=" + code + ", message=" + message + ", date="
				+ date + "]";
	}
	
	
}
